import {request} from '@/utils/request'
export function saveServiceData(data) {
    return request({
        url: '/api/fizz-manager/blade-service/service/save',
        method: 'post',
        data
    })
}
export function updateService(data) {
    return request({
        url: '/api/fizz-manager/blade-service/service/update',
        method: 'post',
        data
    })
}
export function getServiceList(params) {
    return request({
        url: '/api/fizz-manager/blade-service/service/list',
        method: 'get',
        params
    })
}
export function getServiceTree(id) {
    return request({
        url: '/api/fizz-manager/blade-service-user-relation/list/'+id,
        method: 'get',
    })
}
/**
 *  删除
 */
 export function remove(ids) {
    return request({
        url: '/api/fizz-manager/blade-service/service/remove?ids='+ids,
        method: 'post',
    })
}
